package cn.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import lombok.Data;


@Data
public class BlockVo {
    @JSONField(serialzeFeatures= {SerializerFeature.WriteMapNullValue, SerializerFeature.WriteNullStringAsEmpty},ordinal = 1)
    String blockName;
    @JSONField(serialzeFeatures= {SerializerFeature.WriteMapNullValue, SerializerFeature.WriteNullStringAsEmpty},ordinal = 2)
    String symbol;
    @JSONField(serialzeFeatures= {SerializerFeature.WriteMapNullValue, SerializerFeature.WriteNullStringAsEmpty},ordinal = 5)
    String publicKey;
    @JSONField(serialzeFeatures= {SerializerFeature.WriteMapNullValue, SerializerFeature.WriteNullStringAsEmpty},ordinal = 8)
    long timestamp;
    int tps;
    @JSONField(serialzeFeatures= {SerializerFeature.WriteMapNullValue, SerializerFeature.WriteNullStringAsEmpty},ordinal = 6)
    double remain;
    boolean isPublicServer;
}
